package com.lfy.modules.letter.domain.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
public class FeedLetterDTO {
    @Length(min = 1, max = 100, message = "主题长度必须在1-100之间")
    private String subject;
    @Length(min = 1, max = 5000, message = "内容长度必须在1-5000之间")
    private String content;
}
